package org.budo.jni.user32;

import java.awt.Rectangle;
import java.awt.image.BufferedImage;

import com.sun.jna.platform.win32.WinDef.HWND;

/**
 * @author limingwei
 * 
 * @see com.taojin.talk.flunky.logic.util.JNAScreenShot
 */
public interface BudoJniUser32 {
    /**
     * 前台窗口标题
     */
    String foregroundWindowText();

    String foregroundWindowClassName();

    Rectangle foregroundWindowLocationAndSize();

    String windowText(HWND window);

    HWND foregroundWindow();

    String windowClassName(HWND window);

    Rectangle windowLocationAndSize(HWND window);

    boolean isFrontWindowInScreen();

    BufferedImage screenCapture(HWND hwnd);
}